#{extends 'main.html' /} #{set title:'recommendedExercise.html' /}

<body style="background-color: White;">

	<h2>
		<font size="5" face="Arial" color="Green"> <i> Your List of
				Recommended Exercises : </i>
		</font>
	</h2>
	#{ifnot recommendExercises}
	<p>You have no Recommended Exercises</p>
	#{/ifnot}
	<tr>#{list items:recommendExercises, as:'exerciseList'}
	</tr>

	<td>
		<ul>
			<li>${exerciseList.ExerciseName.raw()}</li>
		</ul> #{/list}
		<p>
			<font size="5" face="Arial" color="Green"> <i> List of
					Exercises : </i>
			</font> #{ifnot exercises} there is no exercises #{/ifnot} #{list items:exercises, as:'exercise'}
		<li>${exercise.ExerciseName.raw()}</li>
		<form action="@{CommunityLists.recommendExercise()}" method="GET">
			<button name="commId" type="submit" value="${commId}">Recommend
				this exercise</button>
			<input type="hidden" name="exerciseId" value="${exercise.id}" />
		</form> #{/list} <a href="@{Application.viewProfile()}">Back to Profile
			Page</a>
</body>